#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include <stdbool.h>
typedef int p;
typedef struct Queue {
	struct Queue* next;
	p data;
}QJ;
typedef struct a {
	struct Queue* a;
	struct Queue* b;
}S;
void QueueInit(S* ps);
void QueueDestroyed(S* ps);
void QueuePush(S* ps, p a);
void QueuePop(S* ps);
p QueueTop(S* ps);
int QueueSize(S* ps);
bool QueueEmpty(S* ps);